package com.systop.dxjj.modules.teacher.service;

import com.systop.dxjj.common.pojo.ResponseResult;
import com.systop.dxjj.common.pojo.Teacher;
import com.systop.dxjj.common.utils.R;

public interface TeacherService {
    /**
     * 查询所有教员信息
     */
    R selectAllTeachs();
    /**
     * 教员登录
     */
    R loginTeachs(Teacher teacher);

    /**
     *根据id查询教员信息
     */
    R selectTeachById(Integer id);

    /**
     *根据学员姓名查询学员信息
     */
    R selectTeachByName(String name);
    /**
     *模糊查询
     */
    R selectTeachByVagueName(String name);
    /**
     *插入教员信息
     */
    R insertTeach(Teacher teacher);
    R insertTeach2(Teacher teacher);
    /**
     *删除教员信息
     */
    R deleteTeach(Integer  id);
    /**
     *更新教员信息
     */
    R updateTeach(Teacher teacher);

    ResponseResult teachLogin(Teacher teacher);

    ResponseResult teachlogout();
}
